Plan to secure internet of things with new law