Effect of Photocharging on Catalysis of Metallic Nanoparticles