Assuming prostitution is illegal in NS I assume the supposed contract is not enforceable and that the petitioner does not have “clean hands” as is often talked about in court cases.
Prostitution is not a criminal offence in Canada.
But just about everything around it—solicitation, advertising, living off the avails, etc.—is.