A former Covington & Burling associate who was recently general counsel for the Obama Foundation is shifting over to the Treasury Department, where she will be deputy general counsel.