Metal oxides in sample pretreatment