TOKYO - A law designed to strengthen supervision of companies and farms that accept foreigners working under a government trainee program took effect Wednesday to prevent human rights abuses in the workplace.