This creates a perverse set of incentives to hide all misbehavior even if you're a victim of it.
So I don't know where you're getting this idea that lawyers would automatically defend themselves in those kinds of situations when the incentives are heavily weighted towards ignoring the situations and moving on.
As a software engineer in the tech industry though (especially at a place like Google), you can tell your employer to fuck off and you can find a new high-paying job tomorrow.