yes ..only after 5 years you can change the job even if new law is implemented.
Else , Try to get NOC from current employer