No person who has been duly served with a subpoena or subpoena duces tecum shall be excused from attending and testifying or producing any book, paper, or other document before any court having felony trial jurisdiction, grand jury, or state attorney upon investigation, proceeding, or trial for a violation of any of the criminal statutes of this state upon the ground or for the reason that the testimony or evidence, documentary or otherwise, required of the person may tend to convict him or her of a crime or to subject him or her to a penalty or forfeiture, but no testimony so given or evidence so produced shall be received against the person upon any criminal investigation or proceeding. Such testimony or evidence, however, may be received against the person upon any criminal investigation or proceeding for perjury committed while giving such testimony or producing such evidence or for any perjury subsequently committed.
Fla. Stat. § 914.04
Former s. 932.29.