Determination of the Phase of Wakefield Driven by a Self-Modulated Proton Bunch in Plasma