Metal recovery in surface treatment units by using the 3PE reactor