Any person who has been convicted of, or entered a plea of guilty to, one or more violations of § 22-24B-2 , 22-24B-5 , 22-24B-6 , 22-24B-7 , 22-24B-8 or 22-24B-12 is guilty of a Class 5 felony for any second or subsequent conviction of § 22-24B-2 , 22-24B-5 , 22-24B-6 , 22-24B-7 , 22-24B-8 or