(a) No agreement by an employee to pay any portion of premium paid by his employer to a carrier or to contribute to a benefit fund or department maintained by such employer for the purpose of providing compensation or medical services and supplies as required by this chapter shall be valid, and any employer who makes a deduction for such purpose from the pay of any employee entitled to the benefits of this chapter shall be guilty of a misdemeanor, and upon conviction thereof shall be punished by a fine of not more than $1,000.
(b) No agreement by an employee to waive his right to compensation under this chapter shall be valid.