that the actions required by the law are written in their hearts
"that God has written on their hearts what the law requires them to do" or "that they know the actions that God wants them to do according to his law"
bears witness to them
"tells them if they are disobeying or obeying God's law"