In his veto, the governor said the bill represented government overreach.