Oversight advocates warned the law would damage community-police relations and diminish trust in law enforcement.