WASHINGTON—Hours before Equifax Inc. announced its huge data breach Thursday, a congressional panel was debating a proposed bill that aims to reduce penalties for credit-reporting companies accused of harming consumers with inaccurate credit reports.

The legislation is part of congressional Republicans’ pushback against increasing regulatory scrutiny of an industry that until a few years ago escaped broad government oversight.

The...