Former Florida attorney general Pam Bondi was confirmed by the U.S. Senate as attorney general for President Donald Trump's second term.