Remove deprecated viewID fields in various metadata components