_PyUnicode_AsString() is deprecated and PyUnicode_AsUTF8() should be used instead. The new function was introduced in Python 3.3 and returns const since Python 3.7, which is now required. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5587>