The new legislation aims to reduce temporary contracts and boost worker protections.