The officials wrote in a letter that they "will not lend our expertise to carry out or legitimize DOGE's actions."