async function loadODataMetaModel(oElement, mPayload) {
		const oModel = oElement.getModel(mPayload?.modelName);
		if (oModel && ["sap.ui.model.odata.ODataModel", "sap.ui.model.odata.v2.ODataModel"].includes(oModel.getMetadata().getName())) {
			const oMetaModel = oModel.getMetaModel();
			await oMetaModel.loaded();
			return oMetaModel;
		}
		return null;
	}
Load the OData meta model for the given element.

@param {object} oElement - The element to load the meta model for
@param {object} mPayload - The payload containing model information
@return {Promise} A Promise that resolves with the OData meta model or null if not found