Technical professions are generally held responsible for what they enable. Biology: researchers can't do anything they want on plants, animals or humans. Medicine: doctors are expected to follow strict guidelines with their patients. Even engineering: implementing a cheating system for diesel tests will (rightfully) get engineers into trouble. But software engineering seem to have a pass on how the things we build is…
Not really. Doctors are expected to do the best for their patient without worrying about societal consequences. If Hitler came to a doctor in need of medical help, the doctor would be ethically required to do their best for him, desolate the negative consequences of Hitler to society.
Same with lawyers. Even if their client is a serial murderer and has co fessed their guilt to them, they still have to do their best in representing them.