Molecule transfer mechanism in 2D heterostructured lamellar membranes: The effects of dissolution and diffusion