Nothing in subpart D of subchapter VII of this chapter shall apply to any law-enforcement officer or officer's agent while acting in the lawful performance of duty.