This is a superscription that tells about the psalm. Some scholars say that this is part of the scripture and some say that it is not. (See "What are Superscriptions in Psalms" in [Introduction to Psalms](../front/intro.md).)
This is an idiom that means that Yahweh restored Zion's good life. Alternate translation: "made Zion prosperous again" (See: [[rc://en/ta/man/jit/idiom]])