Every person duly summoned to attend as a witness before either house of the legislature of this state, or any committee thereof authorized to summon witnesses, who shall refuse or neglect, without lawful excuse, to attend pursuant to such summons, or who shall willfully refuse to be sworn or to affirm or to answer any material or proper question or to produce, upon reasonable notice, any material or proper books, papers or documents in his or her possession or under his or her control, shall be guilty of a gross misdemeanor.