(2) Except as otherwise provided in this division, if the drug involved in the violation of division (A) of this section is any compound, mixture, preparation, or substance included in schedule I or II, with the exception of methamphetamine or marihuana, illegal manufacture of drugs is a felony of the second degree, and, subject to division (E) of this section, the court shall impose as a mandatory prison term a second degree felony mandatory prison term.
If the drug involved in the violation is any compound, mixture, preparation, or substance included in schedule I or II, with the exception of methamphetamine or marihuana, and if the offense was committed in the vicinity of a juvenile or in the vicinity of a school, illegal manufacture of drugs is a felony of the first degree, and, subject to division (E) of this section, the court shall impose as a mandatory prison term a first degree felony mandatory prison term.