A major firm facing the potential loss of clients has agreed to support certain White House initiatives with pro bono work.