A disciplinary action or any other adverse personnel action may not be undertaken by a law enforcement agency against a peace officer solely because that officer's name has been placed on a list maintained by a prosecuting attorney's office of recurring witnesses for whom there is known potential impeachment information, or that the officer's name may otherwise be subject to disclosure pursuant to Brady v. Maryland, 373 U.S. 83 (1963). This section does not prohibit a law enforcement agency from taking disciplinary action or any other adverse personnel action against a peace officer based on the underlying acts or omissions for which that officer's name was placed on a prosecutor-maintained list, or may otherwise be subject to disclosure pursuant to Brady v. Maryland, 373 U.S. 83 (1963), if the actions taken by the law enforcement agency otherwise conform to the rules and procedures adopted by the law enforcement agency as determined through collective bargaining.