A grand juror cannot be questioned for anything the juror may say or any vote the juror may give while acting as a grand juror, in relation to any matter legally pending before the grand jury, except for a perjury of which the juror may have been guilty in giving testimony before that jury.