The compensation or pension, herein provided for, shall not be subject to attachment, execution, levy, garnishment, or other legal process, and shall be payable only to the beneficiary, designated by this act, in person and shall not be subject to assignment or transfer.
53 P.S. § 23666