If any person shall ask to be excused from attending and 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 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 law of this commonwealth. Any such individual 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 or justice, court, tribunal, grand jury or otherwise, and if so received or produced such individual shall not be entitled to any immunity or privilege on account of any testimony he may so give or evidence so produced.
Mass. Gen. Laws ch. 176D, § 13