An employee's assignment of the employee's wages or a salary is not effective against the employee's employer in any suit for wages or salaries that are unearned at the time the assignment is executed unless the employer is given written notice of the assignment immediately after the execution of the assignment.
Tex. Lab. Code § 63.001