Adding new metadata service for determining preview mode