In a civil action concerning prison conditions, the court shall not enter or approve a consent decree unless it complies with the limitations on relief set forth in section 5517 and 5519.