Legislation that would help protect consumers from harmful spyware that can harvest personal data from a user's computer was approved by a U.S. House Energy and Commerce subcommittee. The bill would require software distributors and advertisers to clearly notify and obtain consent from consumers before their programs can be loaded onto a computer.