Train your dog not to chew the pool's edges. Take your dog with you near the pool on a leash, and whenever it tries to chew the pool, command them to leave it. This way, you can stop your dog from eating in the pool.