Every person who shall unlawfully or corruptly procure any witness, by any means whatever, to commit wilful and corrupt perjury in any case, matter, or proceedings, in or concerning which such witness shall be legally sworn and examined, shall be guilty of subornation of perjury, and shall not thereafter be received as a witness to be sworn in any matter or cause whatever, until the judgment against him be reversed, and shall be punished by imprisonment in the penitentiary not exceeding ten years.