A law could potentially make masturbation a criminal act.