Removal and recovery of metal anions via functional polymer based PEUF