In any prosecution for patronizing a person for prostitution in the first or second degrees or patronizing a person for prostitution in a school zone, it is a defense that the defendant did not have reasonable grounds to believe that the person was less than the age specified.