getSectionName() missing in MCSectionELF.h in LLVM 17 where is it now?

In previous LLVM’s there is a function named getSectionName() in MCSectionELF.h
Which is missing in LLVM 17. So how can I use this function in LLVM 17? What is the equivalent of this in the latest LLVM.

StringRef getSectionName() const { return SectionName; }

MCSection has a getName() method (see MCSection.h) which is likely what you want.