If it's stainless, once you clean the rust off the surface, the protective chromium oxide layer should reform and be good as new.
So, you just had a small pool of caustic/perc sitting inside the keg lid? With it open to the enviroment? Is it possible that something fell in died?