Various US states have passed, or tried to pass, or been defeated in trying to pass, "Bathroom privacy" laws. "Bathroom" is the coy US word for toilet.
The problem they're trying to solve, is that of trans people (men who have become women or vice versa) using a toilet of the wrong gender.
Me, I'm not bothered. The first time I encountered a female cleaner in a male toilet, I was mildly surprised, but it didn't worry me. Because what's the problem, actually?
But Americans being American, it seems to be a huge issue. On the one hand, there's the people who feel unsafe peeing while there's someone of a different gender nearby; on the other hand, there's people who feel unsafe peeing while there's someone of a different gender nearby, and yes, I know that's the same thing twice, but that's how it is. The root problem is that the same person can be considered to be one gender by some people, another gender by others.
I won't deny that privacy is useful in the toilet - I don't really want anyone else watching me while I take a dump, whatever their gender. It's undignified.
So I have two possible solutions for our American friends.
Solution one - the problem is that some people want to dump in places where only people of their chosen gender dump, and "male" and "female" isn't enough choice. Facebook allows you to choose one of 50 possible genders.
Female to Male
Male to Female
So the answer, obviously, is to have 50 different bathrooms, each one clearly labelled (and please don't use some cute icon that most people won't understand, please use the correct words (that most people won't understand)).
Have one bathroom, each cubicle with floor-to-ceiling walls.