The current economic crisis, brought on by the coronavirus pandemic, caught law firms off-guard. But the ones who learned lessons in the Great Recession should fare better than others.