Nearly three months after Congress struck down federal regulations that aimed to protect internet users from having their online activities secretly tracked and sold, state lawmakers are unveiling new legislation that would require companies to follow such rules in California.