30-9-6. Testimony of witnesses to prostitution and lewdness.
In any investigation, proceeding, preliminary hearing or trial before any court, magistrate or grand jury concerning a violation of or an attempt to commit any crime in violation of Sections 9-11, 9-12 and 9-13 [30-9-2, 30-9-3 and 30-9-4 NMSA 1978] of this article, no person shall be excused from giving testimony or producing documentary or other evidence material to such investigation, proceeding, preliminary hearing or trial on the ground that the testimony or evidence required of him is incriminating evidence; provided that, any person who is so subpoenaed and ordered to testify or produce evidence concerning such crimes shall be immune to prosecution or conviction for any violation of such crimes about which he may testify.