If the offender previously has been convicted of a sexually oriented offense or a child-victim oriented offense, a violation of division (A) , (C), or (D) of this section is a felony of the second degree, and the court shall impose upon the offender as a mandatory prison term one of the definite prison terms prescribed in division (A)(2)(b) of section 2929.14 of the Revised Code for a felony of the second degree, except that if the violation is committed on or after March 22, 2019, the court shall impose as the minimum prison term for the offense a mandatory prison term that is one of the minimum terms prescribed in division (A)(2)(a) of that section for a felony of the second degree.
R.C. § 2907.07