None of the funds herein mentioned shall be subject to attachment, garnishment, judgment, or other legal process; nor shall such funds be assignable but shall be paid to the beneficiary.