Database bridge updates

Using db to build metro references/cookie select lists.

Also corrected a table field name and removed spaces from a couple of
others.