No statement made by any such witness on such examination before either house, or a committee, is competent evidence in any criminal proceeding against such witness; nor can such witness refuse to testify to any fact or to produce any paper, touching which he is examined, for the reason that his testimony or the production of such paper may tend to disgrace him, or render him infamous. Nothing in this section exempts any witness from prosecution and punishment for perjury committed by him on such examination.
Idaho Code § 67-411