Religion is a protected class, based on exactly this sort of “mutable” attribute.
Oh, and the prevailing opinion in the US seems to be that gender is in fact similarly mutable.
And the actual impact on real world people is way larger then what you worry in the post.
You really don't get to talk about freedom while making sure this law is enabled. It is not freedom, it is frankly insane level of control and pitching of people to hunt others for money.
Because the proposed solution - having government take control of speech on the internet and replacing free speech and association rights with compelled speech on the grounds that being able to choose with whom you do business and under what terms is too dangerous to allow - is even worse for society than the problem. Were the problem to exist. Which it doesn't.