A law enforcement officer may communicate with a person who is represented by counsel without obtaining the prior consent of counsel, and an attorney who prosecutes violations of the criminal laws of this state or the United States is not required to forbid or otherwise prevent the communication, if:
ORS 131.040