Lord Sedwill served as the cabinet secretary from 2018 to 2020.