Welcome back to the Wefugees Community and thank you for reaching out to us again.
I understand that the mentioned date in the "Chancen-Aufenthaltsrecht" can be a bit confusing.
It basically means that this law is a one time chance for people who stay in Germany since five years (or longer) by the end of October 2022. It also means that people can not "wait" in the future until they are in Germany for 5 years - anyone who arrived after October 2017 will, unfortunately, not be able to benefit from this law.
I hope its a bit clearer now and please don't hesitate to get back to us with any further question.
All the best,