Merge "Refactor the code to check the metadata" am: cbdcfc0038
am: 6ba8eb5248

Change-Id: I3a1a4c25e8ed9c7fb771a69577cf1bd226ea1d19