Agreed, but it goes way back, long before today's high profile cases and social media shaming.
We started getting formal sexual harassment training on an annual basis back in the early 1980's, about the same time that all the excesses of business relationships and travel were being reigned in. The training was documented by HR for compliance and potential lawsuits. People who didn't change started to get fired on top of large payouts to victims....companies could no longer tolerate the behaviour because of the liability. The Hollywood film "9 to 5" (1980) famously spoofed such common excesses by mostly male superiors, but coworkers and female bosses were not innocent in such matters.
These common workplace elements were changed or eliminated by HR edict and altered employee behaviour:
"Swedish Bikini Team" (of U.S. beer commercial fame) and like minded wall calendars/posters from offices and work spaces
Happy hour drinking binges by coworkers and/or superiors for "team building"
Company holiday parties with open bar...one drink ticket per employee instead.
Vulnerable "secretaries" became an endangered species because of technology....the few that remained became "Executive Assistants".
Co-ed business travel and industry conventions were cut way back and layered with more rules and restrictions
Workplace romances were stifled by HR rules for direct reporting employees
Dress codes were beefed up to keep "temptation" and "flirtation" out of the workplace.
Males (and females) were said to "get it" once they voluntarily changed their behaviours and language, those that didn't were eventually shown the door after warnings and reprimands, unless they had more organizational power than HR. Females started to get more promotions to leadership positions (and power).
A big casualty of all this was workplace mentoring...many males started playing it very safe so as to avoid even the appearance of sexual harassment. The pendulum swung back a bit once the new norm was established, but some sectors never made the leap (government, media, etc.), as they preferred to just keep paying the private settlements over sanctioning or termination of high revenue producing men/women.
Hollywood is/was the perfect breeding ground for continued sexual harassment by its very nature and film productions.