The former attorney for US president Donald Trump is facing criminal charges over failed attempts to reverse the 2020 election result.