Use Common API in libmedia-util to get storage_type instead of internal API