'Shares for rights' becomes law