I agree. The law authorizes only the attorney general to crack the whip, and limits that prosecutorial discretion with an blanket affirmative defense. Who wins here?
The state government gains the ability to selectively harass west coast tech companies. Since west coast tech companies are perceived as left-wing institutions, state legislators probably anticipate that media coverage of the attorney general harassing them in court will poll well with voters in Ohio.