Effects of ionic migration on the concentrations and mass transfer rate in the diffusion layer of dissolving metals