Temperature stable TCO layer, methods of preparation and use