Cities, law enforcement hope new legislation will prevent metal theft