I have no idea about typelib/RPC. The changes look probably okay otherwise.
This is pretty much just relevant to RPC.
Looking over the typelib code, it's possible that we need some similar handling there, at least for [string]. Typelibs also don't handle [iid_is] at all, which may be incorrect. In any case this merge request per se shouldn't *affect* typelib code at all.