Since your previous company is kind enough to give you an NOC, ask them to issue a letter (or a form), but is called on loan basis. Your previous company will issue a document that they are loaning you to your new sponsor for a maximum of 6 months which will cover your 5 months period.