function decodeObjectVersion(entry) {
    let decodedVersionId;
    if (entry.versionId) {
        decodedVersionId = entry.versionId === 'null' ?
            'null' : versionIdUtils.decode(entry.versionId);
    }
    if (decodedVersionId instanceof Error) {
        return [errors.NoSuchVersion];
    }
    return [null, decodedVersionId];
}
decodeObjectVersion - decode object version to be deleted
@param {object} entry - entry from data model
@param {function} next - callback to call with error or decoded version
@return {undefined}