Senate Bill 41 breezed through the Senate and won approval in the House, despite 19 members voting against it.
The governor signed the bill into law Tuesday. On Wednesday, he traveled to Monroe to participate in a mock signing with the school's students.
Also on Tuesday, the governor signed a bill setting more rigorous standards for law enforcement use of administrative subpoenas. The documents allow investigators to get certain financial and personal information from Internet companies and cell phone providers without acquiring a warrant from a judge.
The tool had been sold to legislators as critical for use in emergencies, when investigators don't have time to get a court order.
But a review of warrants by The Salt Lake Tribune found that, on average, 37 days lapsed between the purported crime and the issuance of such a subpoena.
Sean Reyes, the new attorney general, also acknowledged last month that his office, which had issued the vast majority of the subpoenas, was discontinuing their use except in extreme circumstances and with his approval.
Herbert also signed HB289, extending a law due to expire, that allows moped riders, motorcyclists or cyclists who stop at a semaphore but don't trigger the sensor to change the light to proceed through the red light after 90 seconds, as long as no other traffic is approaching.