The suit claims that the new law puts bankruptcy attorneys in the same category as “myriad others who may provide bankruptcy assistance,” including credit counseling firms and unlicensed document preparers.

Targeted by the suit is the Bankruptcy Abuse Prevention and Consumer Protection Act (BAPCPA), which went into effect last October amid hopes that tighter restrictions would...