Solvent structural effects on proton dissociation