"legalized prostitution"
If legal, then why do banks have a problem offering an account. No risk of a bad actor, because it is legal.
It would be like a small business or contractor.
Probably because it's one of those industries where legalizing it still attracts a large enough black market (human trafficking is a huge thing) that it's easier to just blanket ban it than try to separate the legal from the illegal