If any person shall ask to be excused from testifying or from producing any books, papers, records, correspondence or other documents at any hearing on the ground that the testimony or evidence required of him may tend to incriminate him or subject him to a penalty or forfeiture, and shall notwithstanding be directed to give such testimony or produce such evidence, he must nonetheless comply with such direction, but he shall not thereafter be prosecuted or subjected to any penalty or forfeiture for or on account of any transaction, matter or thing concerning which he may testify or produce evidence pursuant thereto, and no testimony so given or evidence produced shall be received against him upon any criminal action, investigation or proceeding; provided, however, that no such individual so testifying shall be exempt from prosecution or punishment for any perjury committed by him while so testifying and the testimony or evidence so given or produced shall be admissible against him upon any criminal action, investigation or proceeding concerning such perjury, nor shall he be exempt from the refusal, revocation or suspension of any license, permission or authority conferred, or to be conferred, pursuant to the insurance laws of this State. Any such person may execute, acknowledge and file in the office of the commissioner a statement expressly waiving such immunity or privilege in respect to any transaction, matter or thing specified in such statement and thereupon the testimony of such person or such evidence in relation to such transaction, matter or thing may be received or produced before any judge, court, tribunal, grand jury or other officer or body, and if so received or produced such person shall not be entitled to any immunity or privilege on account of any testimony or evidence he may so give or produce.
N.J.S. § 17B:30-22