Law Firms May Gain from Wall Street Pain