Probing Defect States and Surface Restructuring of Prototypical Solar Materials