Merge "allow CBR to write SMS database" into rvc-dev