The filing of affidavits under this chapter shall be deemed a legal proceeding for the purpose of a prosecution for perjury or subornation thereof.