Titanium anode for descaling