Each An operator's license, motorcycle operator's license, restricted minor's permit, or motorcycle restricted minor's permit expires on the licensee's birthday in the fifth year following the issuance of the license, or on the date of expiration of the applicant's authorized stay in the United States, as determined by the systematic alien verification for entitlements system or an alternate method approved by the United States Department of Homeland Security or, if there is no expiration date, for a period no longer than one year from the date of issuance, whichever occurs first. Each Except as provided in section 2 of this Act, an operator's license, motorcycle operator's license, restricted minor's permit, or motorcycle restricted minor's permit is renewable one hundred eighty days before its expiration, upon application and payment of the required fee. Any A license renewed before its expiration expires five years after the licensee's ensuing birthday, or on the date of expiration of the applicant's authorized stay in the United States, as determined by the systematic alien verification for entitlements system or an alternate method approved by the United States Department of Homeland Security or, if there is no expiration date, for a period no longer than one year from date of issuance, whichever occurs first. However, the The department shall must waive the knowledge and driving tests for renewal, if the licensee applies and makes payment of the required fee within thirty days following the expiration date. If the licensee applies and makes payment of the required fee thirty-one or more days after the expiration date of the license, the licensee shall must take the knowledge test as required by § 32-12-4. 26 Any A license renewed during the thirty-day period following the date of expiration expires five years from the licensee's previous birthday, or on the date of expiration of the applicant's authorized stay in the United States, as determined by the systematic alien verification for entitlements system or an alternate method approved by the United States Department of Homeland Security or, if there is no expiration date, for a period no longer than one year from date of issuance, whichever occurs first.