(a) A law enforcement officer, prosecuting attorney, or other government official shall not ask or require an adult victim of an alleged sex offense, a youth victim of an alleged sex offense, or a child victim of an alleged sex offense to submit to a polygraph examination or an examination of any other truth-telling device as a condition of proceeding with the investigation of an alleged sex offense.
(b) The refusal of a victim of an alleged sex offense to submit to an examination described in subsection (a) of this section shall not prevent the investigation, charging, or prosecution of the alleged sex offense.