Gassner and Burau representations over $\mathbb{Z}_p$-modules