Peru's President Dina Boluarte named lawyer Alberto Otarola as the new prime minister at a swearing-in ceremony on Wednesday.