(2) An actor commits entering or remaining in a place of prostitution if the actor enters or remains in a place of prostitution for the purpose of engaging in sexual activity.
(3)
(a) Except as provided in Subsection (3)(b), a violation of Subsection (2) is a class A misdemeanor.
(b) A violation of Subsection (2) is a third degree felony if the actor has previously been convicted two or more times of:
(ii) a local ordinance adopted in accordance with Section 76-5d-102 addressing the same or similar type of violation to the violation described in Subsection (2).
(4) Upon a conviction for a violation of this section, the court shall order:
(a) the maximum fine amount and may not waive or suspend the fine; and
(b) the actor to pay for and complete a court-approved educational program about the negative effects on an individual involved with prostitution or human trafficking.