Depinning of the square lattice Coulomb gas model at zero temperature