The memory formalism in the diffusion of drugs through skin membrane