Electro-chemo-mechanics of the interfaces in 2d-3d heterostructure electrodes