A person who has voted in an election shall not in any legal proceedings whatsoever relating to such election, be required to state for whom he or she voted.