This bill would provide that a prosecuting attorney advising a law enforcement officer or a law enforcement agency on any matter of criminal procedure, civil procedure, criminal charges, or criminal investigations within the prosecuting attorney's scope of authority is deemed a prosecutorial function. This bill would also provide for legislative findings.