shall be guilty of a felony and shall be punished by imprisonment for not less than one nor more than 30 years; provided, however, that upon the conviction of the second offense under this subsection, the defendant shall be punished by imprisonment for not less than five nor more than 30 years.
OCGA § 42-1-12