This reduces code duplication between metadata usage index decoding and vtable method index decoding.