Prostitution of any kind, over 18 is not a crime. Pimping or being middle men is a crime. Sex with anyone younger than 14 is considered statutory rape. Rape is also a crime in any age, but persecution is minimal. Usually the authorities look the other way, with some grease.
Some persecution exists, mostly when the women gets pregnant.
Marriage cancels the accusation. The curious fact on Brazilian Law is that everything related to prostitution, as owning or operating a brothel, being the middle man, transmission of venereal decease, etc, is a crime. But prostitution, itself, is not a crime. Of course, as everywhere, the prostitute is mostly a victim. She can hardly refuse a client, she is attacked by pimps, protection selles, she pays a higher taxi fare, a higher bill at the bar, a higher rent on her housing, etc.