(A) the public officers and employees, including police, prosecutors, probation and prison officers and employees, and court officials and employees, not to include counsel for the defense, who are charged with the duty of investigating, prosecuting, or keeping records relating to the crime or the defendant, or with performing any other act when done pursuant to the lawful discharge of their dutie