Assign metadata for contents which are migrated from different sources.