The four labour codes passed by Parliament during 2019-20 seek to usher in investment-friendly legislation and social security frameworks for newer forms of employment, such as gig workers, in the country long hobbled by a web of archaic and complex employment rules.