Proton diffusion reaction in a protein polyelectrolyte membrane and the kinetics of electromechanical forces