The committee investigating the Capitol riots had sought to obtain the presidential records.