Work function solar cell