Many states are following the Golden Gate State’s lead and enacting laws to limit greenhouse gases from autos.