I think it is time for Indian programmers to consider a professional association to look out for their interests. This could serve to pressure the government to enforce the law. It could evolve into a formal union or into a cooperative to pass more of the money directly to the people doing the work.
I was shocked to find out that Indian labour laws does not apply to IT sector in India.
These are the worst of times and these are the best of times. And this is the best tiny ad:
SKIP - a book about connecting industrious people with elderly land ownershttps://coderanch.com/t/skip-book