Maryland Code, CORRECTIONAL SERVICES 3-702
(b) An inmate who is serving a sentence for a violation of § 3-303 or § 3-304 of the Criminal Law Article involving a victim who is a child under the age of 16 years, or an inmate who is serving a sentence for a violation of § 3-305 or § 3-306 of the Criminal Law Article, as the sections existed before October 1, 2017, involving a victim who is a child under the age of 16 years, is not entitled to a diminution of the inmate’s term of confinement as provided under this subtitle.
(c) An inmate who is serving a sentence for a violation of § 3-307 of the Criminal Law Article involving a victim who is a child under the age of 16 years is not entitled to a diminution of the inmate’s term of confinement as provided under this subtitle, if the inmate was previously convicted of a violation of § 3-307 of the Criminal Law Article involving a victim who is a child under the age of 16 years.