Move message blacklist to framework (2/3).

Change-Id: Ie1bea95513b985e79da2e28c86b15a2042c98754
(cherry picked from commit 09b422bc5b2be59ca51516dda40a90ad69bec081)