The Securities and Exchange Commission's latest enforcement action—charging several broker-dealers and investment advisers for recordkeeping violations—has sent a wave of defense work to a group of big law firms.