Hole utilization in solar hydrogen production