Physics-Guided Neural Network for the Prediction of Mass Change from Water Diffusion