Given that you are out of status only 10 days, you should be within the window to restore your status. Apply for the "OWP under the TR to PR Pathway" (see below). If for some reason you are not able to, at least apply for a Visitor's Visa (updated visitor's record and you might also need to pay a restoration fee).
Read this on IRCC's website:
https://www.canada.ca/en/immigratio...-initiatives-pilot-project/tr-pr-pathway.html
And these are the guidelines, read them carefully all the way through a few times:
https://www.canada.ca/en/immigratio...te-canada/tr-pr-pathway/open-work-permit.html
The guidelines for 'OWP under TR to PR' are slightly different from a regular 'OWP' application, so read the details carefully. The 'OWP under TR to PR' guidelines will tell you to put certain answers into boxes that don't necessarily make sense but follow them anyway (e.g. it says to enter Worker even if I am a Student). Only follow the general OWP guidelines when the OWP under TR to PR guidelines do not tell you something else.