Uniqueness of weak solutions to the phase-field model with memory