Section 36. Benefits which are or may become due under this chapter shall not be assigned, pledged, encumbered, released, commuted or trusteed before payment; and when paid shall, as long as they are not mingled with other funds of the beneficiary, be exempt from all claims of creditors, and from levy, execution and attachment or other remedy now or hereafter provided for the recovery or collection of debt, which exemption may not be waived.
Nothing in this section shall prevent benefits payable under this chapter from being assigned, executed upon, trusteed, or otherwise attached when the purpose of such assignment or attachment is to satisfy a support order under chapter two hundred and eight, two hundred and nine, or two hundred and seventy-three or to satisfy an order to provide child support issued pursuant to legal process as defined in Section 462(e) of the Social Security Act.