Legislation introduced by Sen. Dianne Feinstein (D-Calif.) would require businesses and government agencies to notify consumers when hackers break into corporate computer systems and steal their personal data, such as social security numbers and credit card information.