The gold bar is a witness mark for assembly on 'j-kit' brakes. It tells you that you have inserted the hose as far as necessary to have it seated against the lever body, and can safely tighten the compression nut.
The grey stuff is thread sealant. It is applied to the compression nut in some production facilities, and goes along with the above system. It is not required, nor present on all j-kit brakes.