MediaProvider: Structure and sanitize input in AUDIO_FOLDER logic from CAF.

Change-Id: I6f43630c0c262383da6a656205a09fd048b60f2a